﻿Ext.define('ExtAppSystem.model.systemManagement.UserModel', {
    extend: 'Ext.data.Model',
    fields: [
    	'userId','userName','passowrd','realName',
    	'userCode','state','phone','mobilePhone','emailAddress',
    	'enable','buildIn','note'
    ],
    idProperty: 'userId',
    hasMany:{
    	model : 'ExtAppSystem.model.systemManagement.UserRolesDetailModel',
    	name : 'role',
    	foreignKey : 'userId'
    }
});